package com.dartfar.base.action;

import org.apache.log4j.Logger;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

/**
 * 首页Action
 * @author 王琦
 *
 */

@Scope("prototype")
@Component("mainAction")
public class MainAction extends BaseAction {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	static Logger logger = Logger.getLogger(MainAction.class);
	
	/**
	 * 首页
	 * @return
	 */
	public String show(){
		logger.info("加载首页....");
		return "show";
	}
	
	/**
	 * 代办事宜
	 * @return
	 */
	public String affairsBeDealtWith(){
		logger.info("加载代办事宜....");
		return "affairsBeDealtWith";
	}
	
	/**
	 * 系统公告
	 * @return
	 */
	public String notices(){
		logger.info("加载系统公告....");
		return "notices";
	}
	
	public String about(){
		return "about";
	}
	
	
}
